import Vue from 'vue'
import App from './App'

import store from '@/store/home.js'
//把vuex定义成全局组件
Vue.prototype.$store = store

Vue.config.productionTip = false;

App.mpType = 'app';

import '@/static/font/iconfont.css'

// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);

// 创建对象
const app = new Vue({
	store,
    ...App
});


import plugins from '@/utils/plugins.js';
Vue.use(plugins);

app.$mount()

export default app;
